<%@ page contentType="text/html; charset=UTF-8" language="java"
	import="java.sql.*"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>管理员登录</title>
		<style type="text/css">
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-color: #FFF;
	background-image:
		url(${pageContext.request.contextPath}/htimages/l_bg.gif);
	background-repeat: repeat-x;
	background-position: left top;
}

form {
	display: inline;
}

.c {
	clear: both;
	overflow: hidden;
	height: 0px;
	font-size: 0px;
}

.l_bg {
	background: url(${pageContext.request.contextPath}/htimages/l_bg.jpg)
		center top no-repeat;
	margin: 0 auto;
	height: 402px;
	margin-bottom: 50px;
}

input,select {
	outline: none;
}

.l_form {
	width: 580px;
	margin: 0 auto;
	text-align: center;
}

.login-boxtext {
	background-position: -1px -1px;
	border: 1px solid #CBCBCB;
	font-size: 16px;
	font-weight: bold;
	height: 18px;
	left: 0;
	line-height: 18px;
	padding: 13px 12px;
}

.login-boxtext,.login-boxbtn-login {
	background-image:
		url(${pageContext.request.contextPath}/htimages/form.png);
	background-repeat: no-repeat;
	float: left;
	margin-right: 10px;
}

.login-boxbtn-login {
	background-color: #4986D8;
	background-position: 0 -50px;
	border: 0 none;
	cursor: pointer;
	height: 46px;
	width: 110px;
}

.login-boxbtn-login:hover {
	background-position: -110px -50px;
}

.login-boxbtn-login:active {
	background-position: -220px -50px;
}

html:root body,html:root input,html:root button,html:root textarea,html:root select
	{
	font-family: Tahoma, Geneva, '微软雅黑', '宋体';
}

button {
	cursor: pointer;
}
</style>
	</head>

	<body>
		<div class="l_bg"></div>
		<div class="l_form">
			<form
				action="${pageContext.request.contextPath }/servlet/AdminServlet?method=login"
				method="post">
				<input name="username"  type="text" value="${message.username }" class="login-boxtext" />
				<input name="password" type="password" value="${message.password }" class="login-boxtext" />
				<input type="submit" name="button" id="button" value=""
					class="login-boxbtn-login" onfocus="this.blur()" />
					<br/>
					<br/>
				${message.error.username } ${message.error.password } ${nofind }${lock }
			</form>
			<div class="c"></div>
		</div>

	</body>
</html>
